class Invitation < ActiveRecord::Base

  has_many :users
  belongs_to :invitees, :class_name => "User", :foreign_key => "partner_id"
  belongs_to :invitors, :class_name => "User", :foreign_key => "user_id"
  #has_many :pending_invitations
  
  #, :through => :relationships, :class_name => "User"
    
  #belongs_to :initiators, :class_name => "User", :foreign_key => "user_id"
  
end
